package com.kgc.rb.exception;

public enum UserExecption {
    USER_PASSWORD_ERROR(1001, "用户名或密码错误"),
    PHONE_IS_NULL(1001, "电话号码不能为空"),
    PASSWORD_IS_NULL(1001, "电话号码不能为空");
    private Integer code;
    private String message;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    UserExecption(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
